package net.nacos.piggy;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.ConfigurableApplicationContext;

@EnableDiscoveryClient
@SpringBootApplication
public class NacosApplication {
    public static void main(String[] args) {
        ConfigurableApplicationContext run = SpringApplication.run(NacosApplication.class, args);
        String ccc = run.getEnvironment().getProperty("ccc.bbb");
        String aaa = run.getEnvironment().getProperty("aaa.bbb");
    }
}
